import java.util.ArrayList;
import java.util.List;


public class Test2 {

	public static void main(String[] args) {
		String s="1,2,11";
		System.out.println(s.charAt(1));
		System.out.println(s.contains("11"));
		List<String> ls = new ArrayList();
		ls.add("12");
		ls.add("6");
		ls.add("41");
		System.out.println(ls.get(0).length()==1);
		System.out.println(ls.contains("6"));
		String rex = "^"+4+"$";
		System.out.println(ls.contains("41"));
		
	}
}
